package com.asiainfo.iam.constant;

public class AuthConstant {

    // 1. 成功
    public static final String SUCCESS = "000000";
    // 2. token有效
    public static final String TOKEN_VALID = "200";
    // 3. token过期，需要刷新
    public static final String TOKEN_EXPIRED_NEED_REFRESH = "401";
    // 4. token失效，需要重新登录
    public static final String TOKEN_INVALID_NEED_RELOGIN = "403";
    // 5. 服务内部错误，请稍后重试
    public static final String SERVICE_INTERNAL_ERROR = "212500";
    // 6. 必要参数缺失
    public static final String MISSING_REQUIRED_PARAM = "212107";
    // 7. 应用未注册，client_id无效
    public static final String APP_NOT_REGISTERED = "212510";
    // 8. 验证签名失败
    public static final String SIGNATURE_VERIFICATION_FAILED = "212512";
    // 9. 组织机构不存在
    public static final String ORGANIZATION_NOT_EXIST = "212111";
    // 10. 密码已过期请修改密码
    public static final String PASSWORD_EXPIRED = "212029";
    // 11. 用户已禁用请联系管理员解除禁用
    public static final String USER_DISABLED = "212030";
}
